$(function(){
  $(".sideMenu ul li").click(function(){
    $this=$(this);
    $(".sideMenu ul li").removeClass('on');
    $this.addClass('on');
    $href = $this.children('a').attr('href');
    //alert($href);
    $.ajax({
    	url: './index.php?c=user&a=getNodeName',
    	type: 'get',
    	dataType: 'json',
    	data: {href: $href},
    	success:function(data){
    		var html = "";
            html = "当前位置：<a href='./index.php' target='_top'>系统首页</a>->"+data.module;
            if(data.method !== ""){
                html = "当前位置：<a href='./index.php' target='_top'>系统首页</a>->"+data.module+" -> "+data.method;
            }
            parent.topFrame.document.getElementById('here_area').innerHTML=html;
    	}
    });
   
  });
});